OUTFILE = "as.so"
 
COMPILE_FLAGS=-m32 -c -O3 -DLINUX -I../ -fvisibility=hidden

CXX=g++-4.4

all:
	$(CXX) $(COMPILE_FLAGS) ../SDK/*.cpp
	$(CXX) $(COMPILE_FLAGS) *.cpp
	$(CXX) -m32 -O -pthread -unistd -fshort-wchar -shared -o $(OUTFILE) *.o
	rm *.o
